package com.bw.module_staff.api

import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_common.entity.BaseResponse
import com.bw.module_staff.entity.StaffEntity
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
/**
 * 工单-智慧园区-人员管理
 */

interface StaffApiService:BaseApiServer {

    @GET("/api/employees")
    suspend fun getStaff(): BaseResponse<List<StaffEntity>>

    @POST("/api/employees")
    suspend fun addStaff(@Body staffEntity: StaffEntity): BaseResponse<StaffEntity>
}